namespace IQIGame.Onigao.GamePlay
{
    public static class LevelModuleConfigExtends
    {
        /// <summary>
        /// 是否忽略地面位置校准
        /// </summary>
        /// <param name="config"></param>
        /// <returns></returns>
        public static bool IsIgnoreGroundAdjust(this LevelEntityConfig config)
        {
            return config.paramMap.ContainsKey(EntityDynamicParamType.Area)
                || config.paramMap.ContainsKey(EntityDynamicParamType.House);
        }
    }
}
